# -*- coding: utf-8 -*-
from core import consts
from core.http import http_client


consts.ROOT_URL = "http://127.0.0.1:8881/service-bill/v0/callBillApi"


def _test_insertCallRecord():
    api = "/insertCallRecord"
    url = consts.ROOT_URL + api

    data = {
        "loginType": "1",
        "mobilePhone": "18923714596",
        "password": "18923714596",
        "confirmPassword": "18923714596"
    }

    return http_client.post(url=url, data=data, token="")


def test():
    _test_insertCallRecord()


if __name__ == "__main__":
    test()
